<#include "macro_.ftl">
package ${packageCode}.${moduleMapperCode}.dto;

import java.util.Date;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import org.springframework.data.annotation.Transient;

import ${packageCode}.${moduleMapperCode}.po.${businessCode};

/**
 * ${businessName!}
 *
 * @author ${author!'yaohaitao'}
 * 
 */
@Getter
@Setter
@Accessors(chain = true)
public class ${businessCode}Dto extends ${businessCode} {
	/**
	 * 版本号
	 */
	@Transient
	private static final long serialVersionUID = ${serialVersionUID!'1'}L;
	
	
	/**
	 * ${businessName!}
	 * 
	 * @author yaohaitao
	 * 
	 */
	public enum Attributes {
	<#list entityMapper.fieldMapperMap?values as fieldMapper>
	<#if !StringUtils.contains(ignoreEnums, (','+fieldMapper.code+','))>
	
		/**
	     * <@defaultIfBlank str="${fieldMapper.remarks!}" defaultSt="${fieldMapper.code!}"/>
	     */
		${fieldMapper.code},
	</#if>
	</#list>
	}
	
	/**
	 * ${businessName!}
	 * 
	 * @return ${businessName!}
	 */
	public static ${businessCode}Dto new${businessCode}() {
		return new ${businessCode}Dto();
	}
}